package cn.iocoder.yudao.module.crm.controller.admin.receipt.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - crm发票管理新增/修改 Request VO")
@Data
public class ReceiptSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32425")
    private Long id;

    @Schema(description = "发票编号")
    private String code;

    @Schema(description = "客户id", example = "5703")
    private Long customerId;

    @Schema(description = "客户名称", example = "芋艿")
    private String customerName;

    @Schema(description = "合同id", example = "842")
    private Long contractId;

    @Schema(description = "合同名称")
    private String contractName;

    @Schema(description = "开票金额")
    private BigDecimal receiptAmount;

    @Schema(description = "开票日期")
    private LocalDateTime receiptDate;

    @Schema(description = "开票类型", example = "1")
    private String receiptType;

    @Schema(description = "开票内容", example = "1")
    private String content;

    @Schema(description = "发票抬头id", example = "15566")
    private Long titleId;

    @Schema(description = "开票状态", example = "1")
    private String status;

    @Schema(description = "工作流编号", example = "32315")
    private String processInstanceId;

    @Schema(description = "审核状态", example = "2")
    private Integer auditStatus;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "负责人的用户编号", example = "6895")
    private Long ownerUserId;

}